﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OA.Model
{
    public class EmployeeTestPaperView
    {
        public int ID { get; set; }

        public int TestPaperID { get; set; }

        public string EmpID { get; set; }

        public string EmpName { get; set; }

        public DateTime? FillingDate { get; set; }

        public int Status { get; set; }

        [NotMapped]
        public string StatusName { get { if (this.Status == 0) { return "未填写"; } else { return "已填写"; } } }

        public string Title { get; set; }

        public decimal TotalScore { get; set; }

        public decimal Score { get; set; }

        public DateTime StartTime { get; set; }

        public DateTime EndTime { get; set; }

        /// <summary>
        /// 考试时长
        /// </summary>
        public int Duration { get; set; }
    }




}
